.class public abstract Lcom/instagram/android/fragment/d;
.super Lcom/instagram/e/b/c;
.source "AbstractFeedFragment.java"

# interfaces
.implements Lcom/instagram/a/b;
.implements Lcom/instagram/android/fragment/a/a;
.implements Lcom/instagram/android/fragment/ak;
.implements Lcom/instagram/android/widget/v;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<FeedAdapterType:",
        "Lcom/instagram/android/feed/a/a;",
        ">",
        "Lcom/instagram/e/b/c;",
        "Lcom/instagram/a/b;",
        "Lcom/instagram/android/fragment/a/a;",
        "Lcom/instagram/android/fragment/ak;",
        "Lcom/instagram/android/widget/v;"
    }
.end annotation


# instance fields
.field protected Z:Ljava/lang/Long;

.field protected aa:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lcom/instagram/android/model/f;",
            ">;"
        }
    .end annotation
.end field

.field protected ab:Lcom/facebook/c/i/e;

.field protected ac:Z

.field private ad:Lcom/instagram/android/feed/a/a;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TFeedAdapterType;"
        }
    .end annotation
.end field

.field private ae:Lcom/instagram/h/a/a;

.field private af:Z

.field private ag:Z

.field private ah:Lcom/instagram/android/model/d;

.field private ai:Z

.field private aj:Ljava/util/HashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private ak:Lcom/facebook/b/a/j;

.field private al:Lcom/instagram/android/feed/e/j;

.field private am:Landroid/content/BroadcastReceiver;

.field private an:Landroid/content/BroadcastReceiver;

.field private ao:Landroid/os/Handler;

.field protected i:Lcom/instagram/android/d/e/s;


# direct methods
.method public constructor <init>()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 49
    invoke-direct {p0}, Lcom/instagram/e/b/c;-><init>()V

    .line 62
    sget-object v0, Lcom/facebook/c/i/e;->c:Lcom/facebook/c/i/e;

    iput-object v0, p0, Lcom/instagram/android/fragment/d;->ab:Lcom/facebook/c/i/e;

    .line 66
    iput-boolean v1, p0, Lcom/instagram/android/fragment/d;->af:Z

    .line 67
    iput-boolean v1, p0, Lcom/instagram/android/fragment/d;->ag:Z

    .line 83
    new-instance v0, Lcom/instagram/android/fragment/e;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/e;-><init>(Lcom/instagram/android/fragment/d;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/d;->am:Landroid/content/BroadcastReceiver;

    .line 122
    new-instance v0, Lcom/instagram/android/fragment/f;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/f;-><init>(Lcom/instagram/android/fragment/d;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/d;->an:Landroid/content/BroadcastReceiver;

    .line 185
    new-instance v0, Lcom/instagram/android/fragment/i;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/i;-><init>(Lcom/instagram/android/fragment/d;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/d;->ao:Landroid/os/Handler;

    .line 581
    return-void
.end method

.method static synthetic a(Lcom/instagram/android/fragment/d;)Landroid/os/Handler;
    .locals 1
    .parameter

    .prologue
    .line 49
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->ao:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic a(Lcom/instagram/android/fragment/d;Lcom/instagram/android/model/d;)Lcom/instagram/android/model/d;
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 49
    iput-object p1, p0, Lcom/instagram/android/fragment/d;->ah:Lcom/instagram/android/model/d;

    return-object p1
.end method

.method private a(Lcom/instagram/android/feed/a/i;)V
    .locals 2
    .parameter

    .prologue
    .line 312
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->v()Landroid/view/View;

    move-result-object v0

    const v1, 0x102000a

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    .line 313
    sget-object v1, Lcom/instagram/android/feed/a/i;->a:Lcom/instagram/android/feed/a/i;

    if-ne p1, v1, :cond_1

    .line 314
    if-eqz v0, :cond_0

    .line 315
    sget v1, Lcom/facebook/at;->list_bg_color:I

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setBackgroundResource(I)V

    .line 322
    :cond_0
    :goto_0
    return-void

    .line 318
    :cond_1
    if-eqz v0, :cond_0

    .line 319
    sget v1, Lcom/facebook/at;->alt_list_bg_color:I

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setBackgroundResource(I)V

    goto :goto_0
.end method

.method static synthetic a(Lcom/instagram/android/fragment/d;Lcom/instagram/android/feed/a/i;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 49
    invoke-direct {p0, p1}, Lcom/instagram/android/fragment/d;->a(Lcom/instagram/android/feed/a/i;)V

    return-void
.end method

.method static synthetic a(Lcom/instagram/android/fragment/d;Z)Z
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 49
    iput-boolean p1, p0, Lcom/instagram/android/fragment/d;->ag:Z

    return p1
.end method

.method static synthetic b(Lcom/instagram/android/fragment/d;)Landroid/content/BroadcastReceiver;
    .locals 1
    .parameter

    .prologue
    .line 49
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->am:Landroid/content/BroadcastReceiver;

    return-object v0
.end method

.method static synthetic b(Lcom/instagram/android/fragment/d;Z)Z
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 49
    iput-boolean p1, p0, Lcom/instagram/android/fragment/d;->ai:Z

    return p1
.end method

.method static synthetic c(Lcom/instagram/android/fragment/d;Z)Z
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 49
    iput-boolean p1, p0, Lcom/instagram/android/fragment/d;->af:Z

    return p1
.end method


# virtual methods
.method public X()V
    .locals 5

    .prologue
    const-wide/16 v3, 0x64

    const/4 v2, 0x1

    const/4 v1, 0x0

    .line 202
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->v()Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 203
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->j_()Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ListView;->getCount()I

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->j_()Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ListView;->getHeight()I

    move-result v0

    if-nez v0, :cond_1

    .line 251
    :cond_0
    :goto_0
    return-void

    .line 208
    :cond_1
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/feed/a/a;->getCount()I

    move-result v0

    if-le v0, v2, :cond_2

    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->j_()Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ListView;->getFirstVisiblePosition()I

    move-result v0

    if-eqz v0, :cond_2

    .line 209
    invoke-virtual {p0, v2}, Lcom/instagram/android/fragment/d;->e(I)V

    .line 210
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->j_()Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->smoothScrollToPosition(I)V

    .line 211
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->j_()Landroid/widget/ListView;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/fragment/j;

    invoke-direct {v1, p0}, Lcom/instagram/android/fragment/j;-><init>(Lcom/instagram/android/fragment/d;)V

    invoke-virtual {v0, v1, v3, v4}, Landroid/widget/ListView;->postDelayed(Ljava/lang/Runnable;J)Z

    goto :goto_0

    .line 230
    :cond_2
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->j_()Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ListView;->getFirstVisiblePosition()I

    move-result v0

    if-eqz v0, :cond_3

    .line 231
    invoke-virtual {p0, v1}, Lcom/instagram/android/fragment/d;->e(I)V

    .line 232
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->j_()Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->smoothScrollToPosition(I)V

    .line 238
    :goto_1
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->v()Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 239
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->j_()Landroid/widget/ListView;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/fragment/l;

    invoke-direct {v1, p0}, Lcom/instagram/android/fragment/l;-><init>(Lcom/instagram/android/fragment/d;)V

    invoke-virtual {v0, v1, v3, v4}, Landroid/widget/ListView;->postDelayed(Ljava/lang/Runnable;J)Z

    goto :goto_0

    .line 234
    :cond_3
    invoke-virtual {p0, v1}, Lcom/instagram/android/fragment/d;->e(I)V

    goto :goto_1
.end method

.method protected final Y()Lcom/instagram/android/feed/a/a;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TFeedAdapterType;"
        }
    .end annotation

    .prologue
    .line 359
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->ad:Lcom/instagram/android/feed/a/a;

    if-nez v0, :cond_0

    .line 360
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->Z()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/fragment/d;->ad:Lcom/instagram/android/feed/a/a;

    .line 362
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->ad:Lcom/instagram/android/feed/a/a;

    return-object v0
.end method

.method protected abstract Z()Lcom/instagram/android/feed/a/a;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TFeedAdapterType;"
        }
    .end annotation
.end method

.method public a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 2
    .parameter
    .parameter
    .parameter

    .prologue
    .line 275
    sget v0, Lcom/facebook/ax;->layout_feed:I

    const/4 v1, 0x0

    invoke-virtual {p1, v0, p2, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v0

    return-object v0
.end method

.method public a(Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 1
    .parameter

    .prologue
    .line 479
    const/4 v0, 0x0

    return-object v0
.end method

.method public a()Lcom/instagram/a/a;
    .locals 1

    .prologue
    .line 574
    new-instance v0, Lcom/instagram/android/fragment/p;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/p;-><init>(Lcom/instagram/android/fragment/d;)V

    return-object v0
.end method

.method protected abstract a(Lcom/instagram/android/d/j/f;)Lcom/instagram/android/d/e/s;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/instagram/android/d/j/f",
            "<",
            "Lcom/instagram/android/model/k;",
            ">;)",
            "Lcom/instagram/android/d/e/s;"
        }
    .end annotation
.end method

.method public a(Landroid/os/Bundle;)V
    .locals 2
    .parameter

    .prologue
    .line 326
    invoke-super {p0, p1}, Lcom/instagram/e/b/c;->a(Landroid/os/Bundle;)V

    .line 329
    invoke-static {}, Lcom/instagram/android/model/d;->a()Lcom/instagram/android/model/d;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/fragment/d;->ah:Lcom/instagram/android/model/d;

    .line 331
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    .line 336
    new-instance v1, Lcom/instagram/android/fragment/n;

    invoke-direct {v1, p0}, Lcom/instagram/android/fragment/n;-><init>(Lcom/instagram/android/fragment/d;)V

    invoke-virtual {v0, v1}, Lcom/instagram/android/feed/a/a;->a(Lcom/instagram/android/feed/a/h;)V

    .line 351
    invoke-virtual {p0, v0}, Lcom/instagram/android/fragment/d;->a(Landroid/widget/ListAdapter;)V

    .line 353
    new-instance v0, Lcom/instagram/h/a/a;

    invoke-direct {v0, p0}, Lcom/instagram/h/a/a;-><init>(Lcom/instagram/b/d;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/d;->ae:Lcom/instagram/h/a/a;

    .line 355
    new-instance v0, Lcom/instagram/android/feed/e/j;

    invoke-direct {v0, p0}, Lcom/instagram/android/feed/e/j;-><init>(Landroid/support/v4/app/Fragment;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/d;->al:Lcom/instagram/android/feed/e/j;

    .line 356
    return-void
.end method

.method public a(Landroid/view/View;Landroid/os/Bundle;)V
    .locals 2
    .parameter
    .parameter

    .prologue
    .line 280
    invoke-super {p0, p1, p2}, Lcom/instagram/e/b/c;->a(Landroid/view/View;Landroid/os/Bundle;)V

    .line 283
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0xe

    if-ge v0, v1, :cond_0

    .line 284
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->j_()Landroid/widget/ListView;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setScrollingCacheEnabled(Z)V

    .line 286
    :cond_0
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->j_()Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    .line 287
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/feed/a/a;->o()Lcom/instagram/android/feed/a/i;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/instagram/android/fragment/d;->a(Lcom/instagram/android/feed/a/i;)V

    .line 289
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/fragment/m;

    invoke-direct {v1, p0}, Lcom/instagram/android/fragment/m;-><init>(Lcom/instagram/android/fragment/d;)V

    invoke-virtual {v0, v1}, Lcom/instagram/android/feed/a/a;->a(Lcom/instagram/android/feed/a/j;)V

    .line 296
    return-void
.end method

.method protected a(Lcom/instagram/h/b/b;)V
    .locals 0
    .parameter

    .prologue
    .line 405
    return-void
.end method

.method public a(Ljava/util/List;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Lcom/instagram/android/model/f;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 464
    iput-object p1, p0, Lcom/instagram/android/fragment/d;->aa:Ljava/util/List;

    .line 465
    return-void
.end method

.method protected abstract a(Ljava/util/Map;)V
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation
.end method

.method protected a(Z)V
    .locals 0
    .parameter

    .prologue
    .line 412
    return-void
.end method

.method protected a(ZLcom/instagram/android/fragment/o;)V
    .locals 4
    .parameter
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(Z",
            "Lcom/instagram/android/fragment/d",
            "<TFeedAdapterType;>.com/instagram/android/fragment/o;)V"
        }
    .end annotation

    .prologue
    .line 373
    const-string v0, "%s#%s"

    const/4 v1, 0x2

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    const-string v3, "AbstractFeedFragment"

    aput-object v3, v1, v2

    const/4 v2, 0x1

    const-string v3, "constructAndPerformFeedRequest"

    aput-object v3, v1, v2

    invoke-static {v0, v1}, Lcom/facebook/e/b/g;->b(Ljava/lang/String;[Ljava/lang/Object;)V

    .line 374
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->e()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 375
    const-string v0, "AbstractFeedFragment"

    const-string v1, "Is loading already set, not performing request"

    invoke-static {v0, v1}, Lcom/facebook/e/a/a;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 392
    :cond_0
    :goto_0
    return-void

    .line 379
    :cond_1
    new-instance v0, Ljava/util/Date;

    invoke-direct {v0}, Ljava/util/Date;-><init>()V

    invoke-virtual {v0}, Ljava/util/Date;->getTime()J

    move-result-wide v0

    invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/fragment/d;->Z:Ljava/lang/Long;

    .line 380
    invoke-virtual {p0, p2}, Lcom/instagram/android/fragment/d;->a(Lcom/instagram/android/d/j/f;)Lcom/instagram/android/d/e/s;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/fragment/d;->i:Lcom/instagram/android/d/e/s;

    .line 382
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->i:Lcom/instagram/android/d/e/s;

    if-eqz v0, :cond_0

    .line 386
    invoke-static {p2, p1}, Lcom/instagram/android/fragment/o;->a(Lcom/instagram/android/fragment/o;Z)V

    .line 387
    if-eqz p1, :cond_2

    .line 388
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->i:Lcom/instagram/android/d/e/s;

    invoke-virtual {v0}, Lcom/instagram/android/d/e/s;->g()V

    goto :goto_0

    .line 390
    :cond_2
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->i:Lcom/instagram/android/d/e/s;

    invoke-virtual {v0}, Lcom/instagram/android/d/e/s;->i()V

    goto :goto_0
.end method

.method protected aa()Lcom/instagram/android/feed/a/i;
    .locals 1

    .prologue
    .line 368
    sget-object v0, Lcom/instagram/android/feed/a/i;->a:Lcom/instagram/android/feed/a/i;

    return-object v0
.end method

.method public ab()Ljava/util/Map;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    .prologue
    .line 416
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->aj:Ljava/util/HashMap;

    if-nez v0, :cond_0

    .line 417
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/instagram/android/fragment/d;->aj:Ljava/util/HashMap;

    .line 418
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->aj:Ljava/util/HashMap;

    invoke-virtual {p0, v0}, Lcom/instagram/android/fragment/d;->a(Ljava/util/Map;)V

    .line 420
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->aj:Ljava/util/HashMap;

    return-object v0
.end method

.method public ac()Z
    .locals 1

    .prologue
    .line 426
    const/4 v0, 0x0

    return v0
.end method

.method public ad()Z
    .locals 3

    .prologue
    const/4 v0, 0x0

    .line 446
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->r()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->i_()Z

    move-result v1

    if-nez v1, :cond_0

    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->e()Z

    move-result v1

    if-eqz v1, :cond_1

    .line 449
    :cond_0
    :goto_0
    return v0

    :cond_1
    iget-object v1, p0, Lcom/instagram/android/fragment/d;->ah:Lcom/instagram/android/model/d;

    invoke-virtual {v1}, Lcom/instagram/android/model/d;->b()Lcom/instagram/android/model/e;

    move-result-object v1

    sget-object v2, Lcom/instagram/android/model/e;->a:Lcom/instagram/android/model/e;

    if-eq v1, v2, :cond_0

    iget-object v1, p0, Lcom/instagram/android/fragment/d;->ah:Lcom/instagram/android/model/d;

    invoke-virtual {v1}, Lcom/instagram/android/model/d;->d()Z

    move-result v1

    if-eqz v1, :cond_0

    const/4 v0, 0x1

    goto :goto_0
.end method

.method public ae()Lcom/instagram/android/model/d;
    .locals 1

    .prologue
    .line 460
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->ah:Lcom/instagram/android/model/d;

    return-object v0
.end method

.method public af()Z
    .locals 1

    .prologue
    .line 483
    const/4 v0, 0x1

    return v0
.end method

.method public ag()Z
    .locals 1

    .prologue
    .line 487
    const/4 v0, 0x0

    return v0
.end method

.method protected ah()Z
    .locals 1

    .prologue
    .line 498
    const/4 v0, 0x1

    return v0
.end method

.method protected ai()V
    .locals 3

    .prologue
    .line 502
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->s()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 503
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->could_not_refresh_feed:I

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 505
    :cond_0
    return-void
.end method

.method public aj()Lcom/instagram/h/a/a;
    .locals 1

    .prologue
    .line 578
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->ae:Lcom/instagram/h/a/a;

    return-object v0
.end method

.method public c()V
    .locals 2

    .prologue
    .line 456
    const/4 v0, 0x0

    new-instance v1, Lcom/instagram/android/fragment/o;

    invoke-direct {v1, p0}, Lcom/instagram/android/fragment/o;-><init>(Lcom/instagram/android/fragment/d;)V

    invoke-virtual {p0, v0, v1}, Lcom/instagram/android/fragment/d;->a(ZLcom/instagram/android/fragment/o;)V

    .line 457
    return-void
.end method

.method public d()Z
    .locals 1

    .prologue
    .line 78
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->e()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/feed/a/a;->p()I

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public e()Z
    .locals 1

    .prologue
    .line 431
    iget-boolean v0, p0, Lcom/instagram/android/fragment/d;->af:Z

    return v0
.end method

.method public f()Z
    .locals 1

    .prologue
    .line 442
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/feed/a/a;->m()Z

    move-result v0

    return v0
.end method

.method public g()Z
    .locals 2

    .prologue
    .line 436
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->ah:Lcom/instagram/android/model/d;

    invoke-virtual {v0}, Lcom/instagram/android/model/d;->b()Lcom/instagram/android/model/e;

    move-result-object v0

    sget-object v1, Lcom/instagram/android/model/e;->a:Lcom/instagram/android/model/e;

    if-eq v0, v1, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public g_()V
    .locals 1

    .prologue
    .line 300
    invoke-super {p0}, Lcom/instagram/e/b/c;->g_()V

    .line 301
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/feed/a/a;->g()V

    .line 302
    return-void
.end method

.method public h_()Z
    .locals 1

    .prologue
    .line 469
    const/4 v0, 0x0

    return v0
.end method

.method public i_()Z
    .locals 1

    .prologue
    .line 474
    iget-boolean v0, p0, Lcom/instagram/android/fragment/d;->ai:Z

    return v0
.end method

.method public k_()V
    .locals 0

    .prologue
    .line 269
    invoke-super {p0}, Lcom/instagram/e/b/c;->k_()V

    .line 270
    return-void
.end method

.method public w()V
    .locals 4

    .prologue
    .line 140
    invoke-super {p0}, Lcom/instagram/e/b/c;->w()V

    .line 142
    iget-boolean v0, p0, Lcom/instagram/android/fragment/d;->ag:Z

    if-eqz v0, :cond_0

    .line 144
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->m()Landroid/support/v4/app/r;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/r;->f()I

    move-result v0

    if-lez v0, :cond_0

    .line 145
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->m()Landroid/support/v4/app/r;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/r;->e()Z

    .line 149
    :cond_0
    invoke-static {}, Lcom/instagram/creation/video/c/b;->b()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 150
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/feed/a/a;->i()V

    .line 153
    :cond_1
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/feed/a/a;->h()V

    .line 155
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-static {v0}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v0

    .line 156
    iget-object v1, p0, Lcom/instagram/android/fragment/d;->an:Landroid/content/BroadcastReceiver;

    new-instance v2, Landroid/content/IntentFilter;

    const-string v3, "ActionBarService.action_bar_clicked"

    invoke-direct {v2, v3}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v1, v2}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)V

    .line 157
    iget-object v1, p0, Lcom/instagram/android/fragment/d;->an:Landroid/content/BroadcastReceiver;

    new-instance v2, Landroid/content/IntentFilter;

    const-string v3, "ActionBarService.action_bar_refresh_click"

    invoke-direct {v2, v3}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v1, v2}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)V

    .line 161
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/fragment/g;

    invoke-direct {v1, p0}, Lcom/instagram/android/fragment/g;-><init>(Lcom/instagram/android/fragment/d;)V

    invoke-virtual {v0, v1}, Lcom/instagram/android/feed/a/a;->a(Lcom/instagram/android/feed/a/f;)V

    .line 177
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->ak:Lcom/facebook/b/a/j;

    if-nez v0, :cond_2

    .line 178
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-static {v0}, Lcom/instagram/android/h/d;->a(Landroid/app/Activity;)Lcom/facebook/b/a/j;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/fragment/d;->ak:Lcom/facebook/b/a/j;

    .line 180
    :cond_2
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->ak:Lcom/facebook/b/a/j;

    invoke-interface {v0}, Lcom/facebook/b/a/j;->b()V

    .line 181
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->al:Lcom/instagram/android/feed/e/j;

    invoke-virtual {v0}, Lcom/instagram/android/feed/e/j;->a()V

    .line 182
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->ae:Lcom/instagram/h/a/a;

    invoke-virtual {v0}, Lcom/instagram/h/a/a;->c()V

    .line 183
    return-void
.end method

.method public x()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 255
    invoke-super {p0}, Lcom/instagram/e/b/c;->x()V

    .line 256
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-static {v0}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/fragment/d;->an:Landroid/content/BroadcastReceiver;

    invoke-virtual {v0, v1}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;)V

    .line 258
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/instagram/android/feed/a/a;->a(Lcom/instagram/android/feed/a/f;)V

    .line 260
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->ao:Landroid/os/Handler;

    invoke-virtual {v0, v2}, Landroid/os/Handler;->removeCallbacksAndMessages(Ljava/lang/Object;)V

    .line 261
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/feed/a/a;->q()V

    .line 262
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->ak:Lcom/facebook/b/a/j;

    invoke-interface {v0}, Lcom/facebook/b/a/j;->c()V

    .line 263
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->al:Lcom/instagram/android/feed/e/j;

    invoke-virtual {v0}, Lcom/instagram/android/feed/e/j;->b()V

    .line 264
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->ae:Lcom/instagram/h/a/a;

    invoke-virtual {v0}, Lcom/instagram/h/a/a;->b()V

    .line 265
    return-void
.end method

.method public y()V
    .locals 2

    .prologue
    .line 306
    invoke-virtual {p0}, Lcom/instagram/android/fragment/d;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-static {v0}, Landroid/support/v4/a/e;->a(Landroid/content/Context;)Landroid/support/v4/a/e;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/fragment/d;->am:Landroid/content/BroadcastReceiver;

    invoke-virtual {v0, v1}, Landroid/support/v4/a/e;->a(Landroid/content/BroadcastReceiver;)V

    .line 307
    invoke-super {p0}, Lcom/instagram/e/b/c;->y()V

    .line 308
    iget-object v0, p0, Lcom/instagram/android/fragment/d;->ae:Lcom/instagram/h/a/a;

    invoke-virtual {v0}, Lcom/instagram/h/a/a;->d()V

    .line 309
    return-void
.end method
